home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / v9n07.arc / KILLER.BAT < prev    next >
DOS Batch File  |  1990-03-16  |  512b  |  27 lines

  1. killer.bat
  2.  
  3.  
  4. @ECHO OFF
  5. IF '%1'=='' GOTO noparam
  6. IF NOT EXIST %1 GOTO nofile
  7. SET victim=%1
  8. IF NOT '%victim%'=='%1' GOTO noenvir
  9. ECHO Press ^C if you do NOT want to permanently wipe out the
  10. ECHO data in the file "%1".  Otherwise . . .
  11. PAUSE
  12. BASICA KILLER2
  13. ECHO . . .
  14. ECHO File "%1" has been obliterated
  15. SET victim=
  16. GOTO end
  17. :noparam
  18. ECHO Syntax: "KILLER filename"
  19. GOTO end
  20. :nofile
  21. ECHO File "%1" not found
  22. GOTO end
  23. :noenvir
  24. ECHO Not enough environment space to run this batch file
  25. :end
  26.  
  27.